package com.woniu.tms.mapper;

import com.woniu.tms.entity.Checkinfo;
import com.woniu.tms.entity.CheckinfoExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CheckinfoMapper {
    long countByExample(CheckinfoExample example);

    int deleteByExample(CheckinfoExample example);

    int deleteByPrimaryKey(Integer cfid);

    int insert(Checkinfo record);

    int insertSelective(Checkinfo record);

    List<Checkinfo> selectByExample(CheckinfoExample example);

    Checkinfo selectByPrimaryKey(Integer cfid);

    int updateByExampleSelective(@Param("record") Checkinfo record, @Param("example") CheckinfoExample example);

    int updateByExample(@Param("record") Checkinfo record, @Param("example") CheckinfoExample example);

    int updateByPrimaryKeySelective(Checkinfo record);

    int updateByPrimaryKey(Checkinfo record);

    void addSome(Map<String , Object> paramMap);
}